﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Summary.ascx.cs" Inherits="ZkSurvey.Web.VP.SurveyResult.Summary" %>
<tbwc:StyleSheetControl ID="SscEdit" runat="server" CssPath="VP/SurveyResult/Summary.css">
</tbwc:StyleSheetControl>
<ajaxToolKit:ToolkitScriptManager runat="Server" EnablePartialRendering="true" CombineScripts="false"
    ID="ScriptManager1">
    <Scripts>
        <asp:ScriptReference Path="~/js/jquery-1.4.2.js" />
    </Scripts>
</ajaxToolKit:ToolkitScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <div id="formHeader">
            <div id="title">
                <asp:Literal ID="ltrSvTitle" runat="server"></asp:Literal>
            </div>
        </div>
        <div id="formBody">
            <div class="OpArea">
                <%-- <label>
                    开始时间：</label><asp:Literal ID="ltrStartTime" runat="server"></asp:Literal>
                <label>
                    结束时间：</label><asp:Literal ID="ltrEndTime" runat="server"></asp:Literal>--%>
                <label>
                    问卷状态：</label><asp:Literal ID="ltrStatus" runat="server"></asp:Literal>
                <label>
                    答题份数：</label><asp:Literal ID="ltrTotalParticsCount" runat="server"></asp:Literal>
                <label>
                    有效份数：</label><asp:Literal ID="ltrValidParticsCount" runat="server"></asp:Literal>
                <label>
                    无效份数：</label><asp:Literal ID="ltrInValidParticsCount" runat="server"></asp:Literal>
                <label>
                    未审核份数：</label><asp:Literal ID="ltrUndefiedParticsCount" runat="server"></asp:Literal>
            </div>
            <div id="formPager" class="pager" style="float: right;">
                选择题目数：<asp:Literal ID="ltrQuesCount" runat="server"></asp:Literal>
            </div>
            <div style="clear: both;">
            </div>
            <div class="description">
                <span>
                    <asp:Literal ID="ltrSvDesciption" runat="server"></asp:Literal>
                </span>
            </div>
            <asp:Repeater ID="rptQuestions" runat="server" OnItemDataBound="rptQuestions_ItemDataBound">
                <HeaderTemplate>
                    <div>
                </HeaderTemplate>
                <ItemTemplate>
                    <div class="field">
                        <h2 class="itemTitle">
                            <asp:Literal ID="ltrQuesTitleFormat" runat="server"></asp:Literal>
                        </h2>
                        <div class="fieldItems">
                            <asp:Repeater ID="rptOptions" runat="server" OnItemDataBound="rptOptions_ItemDataBound">
                                <HeaderTemplate>
                                    <ul>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <li>
                                        <%#Eval("FormatedName")%>
                                        &nbsp;&nbsp;(
                                        <label style="display: inline-block; margin:0 5px; font-weight: bold; color: blue;">
                                            <asp:Literal ID="ltrOptionCount" runat="server"></asp:Literal></label>)
                                    </li>
                                </ItemTemplate>
                                <FooterTemplate>
                                    </ul>
                                </FooterTemplate>
                            </asp:Repeater>
                        </div>
                    </div>
                </ItemTemplate>
                <FooterTemplate>
                    </div>
                </FooterTemplate>
            </asp:Repeater>
        </div>
    </ContentTemplate>
    <Triggers>
    </Triggers>
</asp:UpdatePanel>
